package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealService {

   //添加套餐
   void add(Setmeal setmeal,Integer[] checkGroupIds);

   //分页查询套餐
   PageResult findPage(QueryPageBean queryPageBean);

   //查询所有套餐信息
   List<Setmeal> getSetmealAll();

   //根据id查询所有套餐数据,同时查询出对应检查组,和对应检查项
   Setmeal findById(Integer setmealId);

   List<Map<String, Object>> getSetmealCount();

   List<Map<String, Object>> findHotSetmeal();
}
